Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't set CMAKE_CXX_FLAGS PARENT_SCOPE in macro use_rtti #444

Merged
merged 1 commit into from
May 22, 2023

Conversation

wenju-he
Copy link
Contributor

cmake macro doesn't create new scope, so it is wrong to set PARENT_SCOPE for CMAKE_CXX_FLAGS.
In addition, in out-of-tree build, the parent scope doesn't exist and there is cmake warning.

cmake macro doesn't create new scope, so it is wrong to set PARENT_SCOPE
for CMAKE_CXX_FLAGS.
In addition, in out-of-tree build, the parent scope doesn't exist and
there is cmake warning.
@wenju-he wenju-he requested review from cdai2, fzou1 and haonanya May 22, 2023 05:34
@wenju-he wenju-he merged commit bbf1402 into intel:main May 22, 2023
@wenju-he wenju-he deleted the use_rtti-CMAKE_CXX_FLAGS branch May 22, 2023 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants